
public class test1 {
	private static int j=100;
	public static void main(String[] args) {
		test1 t = new test1();
		t.j++;
		System.out.println("j="+j);
		System.out.println("tj="+t.j);
		System.out.println("testj="+test1.j);
		System.out.println("-----------------------");
		test1 t2 = new test1();
		t2.j++;
		System.out.println("j="+j);
		System.out.println("tj="+t.j);
		System.out.println("t2j="+t2.j);
		System.out.println("testj="+test1.j);
		System.out.println("-----------------------");
		test1.j++;
		System.out.println("j="+j);
		System.out.println("tj="+t.j);
		System.out.println("t2j="+t2.j);
		System.out.println("testj="+test1.j);
		System.out.println("-----------------------");
		t = new test1();
		t.j++;
		System.out.println("j="+j);
		System.out.println("tj="+t.j);
		System.out.println("t2j="+t2.j);
		System.out.println("testj="+test1.j);
		System.out.println("-----------------------");
		
	}
}
